package cn.vcjf.weapp.dict.service;

import java.util.HashMap;

/**
 * @Auther: zhengzihang
 * @Date: 2018/7/19 09:39
 * @Description:
 */
public class DictCache {

	public static HashMap<String, Object> cache = new HashMap<>();

	private DictCache(){}

	public static Object get(String key){
		return cache.get(key);
	}
	public static void setCache(HashMap<String, Object> cache) {
		DictCache.cache = cache;
	}
	public static void put(String key,Object obj){
		cache.put(key, obj);
	}
	public static void clear(){
		cache.clear();
	}

}
